/**
 * jims
 */
package com.jims.master.modules.doctor.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.OrgDept;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 检查申请Entity
 * @author 陈晓阳
 * @version 2017-03-14
 */
public class ExamApply extends DataEntity<ExamApply> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 就诊记录ID/住院记录
	private String applyOn;		// 申请序号
	private String patientId;		// 病人信息Id
	private String inoroutFlag;		// 住院/门诊
	private String symptom;		// 症状
	private String sign;		// 体征
	private String relevantDiag;		// 其他诊断
	private String relevantResult;		// 化验结果
	private String confirmUser;		// 确认人
	private String cancelConfirmUser;//取消确认
	private String confirmFlag;		// 确认标志
	private String chargeFlag;		// 收费标志
	private String billingDept;		// 开单科室
    private OrgDept billingDeptEt; //开单科室
	private String implementDept;		// 执行科室
    private OrgDept implementDeptEt;   //执行科室
    private String deptName;//科室名称
    private String name;//患者姓名
	private String sex;
    private List<ExamItem> examItemList=null;
    private List<OrgDept> powerDeptList;
    private String billingDeptName;
    private String rId;//treeTable id
    private String visitId;  //住院id
    private String ordersId;//门诊收费记录ID
    private String startDate;
	private String endDate;
    private ClinicMaster clinicMaster; //就诊记录
    private PatMasterIndex patMasterIndex; //病人信息
	private String isPhy;//是否体检
	private String examType; // 检查类别

	private String wardCode;//病区

    public OrgDept getImplementDeptEt() {
        return implementDeptEt;
    }

    public void setImplementDeptEt(OrgDept implementDeptEt) {
        this.implementDeptEt = implementDeptEt;
    }

    public PatMasterIndex getPatMasterIndex() {
        return patMasterIndex;
    }

    public void setPatMasterIndex(PatMasterIndex patMasterIndex) {
        this.patMasterIndex = patMasterIndex;
    }

    public ClinicMaster getClinicMaster() {
        return clinicMaster;
    }

    public void setClinicMaster(ClinicMaster clinicMaster) {
        this.clinicMaster = clinicMaster;
    }

    public OrgDept getBillingDeptEt() {
        return billingDeptEt;
    }

    public void setBillingDeptEt(OrgDept billingDeptEt) {
        this.billingDeptEt = billingDeptEt;
    }

    public String getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(String ordersId) {
        this.ordersId = ordersId;
    }

    public String getVisitId() {
        return visitId;
    }

    public void setVisitId(String visitId) {
        this.visitId = visitId;
    }

    public ExamApply() {
		super();
        this.inoroutFlag="0";
	}

	public ExamApply(String id){
		super(id);
	}

	@Length(min=1, max=64, message="就诊记录ID/住院记录长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=1, max=200, message="申请序号长度必须介于 1 和 200 之间")
	public String getApplyOn() {
		return applyOn;
	}

	public void setApplyOn(String applyOn) {
		this.applyOn = applyOn;
	}
	
	@Length(min=1, max=64, message="病人信息Id长度必须介于 1 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@Length(min=1, max=1, message="住院/门诊长度必须介于 1 和 1 之间")
	public String getInoroutFlag() {
		return inoroutFlag;
	}

	public void setInoroutFlag(String inoroutFlag) {
		this.inoroutFlag = inoroutFlag;
	}
	
	@Length(min=0, max=200, message="症状长度必须介于 0 和 200 之间")
	public String getSymptom() {
		return symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}
	
	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}
	
	public String getRelevantDiag() {
		return relevantDiag;
	}

	public void setRelevantDiag(String relevantDiag) {
		this.relevantDiag = relevantDiag;
	}
	
	public String getRelevantResult() {
		return relevantResult;
	}

	public void setRelevantResult(String relevantResult) {
		this.relevantResult = relevantResult;
	}
	
	@Length(min=0, max=64, message="确认人长度必须介于 0 和 64 之间")
	public String getConfirmUser() {
		return confirmUser;
	}

	public void setConfirmUser(String confirmUser) {
		this.confirmUser = confirmUser;
	}
	
	@Length(min=1, max=1, message="确认标志长度必须介于 1 和 1 之间")
	public String getConfirmFlag() {
         return this.confirmFlag;
	}

	public void setConfirmFlag(String confirmFlag) {
		this.confirmFlag = confirmFlag;
	}
	
	@Length(min=1, max=1, message="收费标志长度必须介于 1 和 1 之间")
	public String getChargeFlag() {
		return chargeFlag;
	}
    public String getChargeFlagTran() {
        return  chargeFlag;
    }
	public void setChargeFlag(String chargeFlag) {
		this.chargeFlag = chargeFlag;
	}
	
	@Length(min=0, max=64, message="开单科室长度必须介于 0 和 64 之间")
	public String getBillingDept() {
		return billingDept;
	}

	public void setBillingDept(String billingDept) {
		this.billingDept = billingDept;
	}
	
	@Length(min=0, max=64, message="执行科室长度必须介于 0 和 64 之间")
	public String getImplementDept() {
		return implementDept;
	}

	public void setImplementDept(String implementDept) {
		this.implementDept = implementDept;
	}

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public List<ExamItem> getExamItemList() {
        return examItemList;
    }

    public void setExamItemList(List<ExamItem> examItemList) {
        this.examItemList = examItemList;
    }

    public List<OrgDept> getPowerDeptList() {
        return powerDeptList;
    }

    public void setPowerDeptList(List<OrgDept> powerDeptList) {
        this.powerDeptList = powerDeptList;
    }

    public String getBillingDeptName() {
        return billingDeptName;
    }

    public void setBillingDeptName(String billingDeptName) {
        this.billingDeptName = billingDeptName;
    }

    public String getrId() {
         return rId;
    }

    public void setrId(String rId) {
        this.rId = rId;
    }

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIsPhy() {
		return isPhy;
	}

	public void setIsPhy(String isPhy) {
		this.isPhy = isPhy;
	}

	public String getWardCode() {
		return wardCode;
	}

	public void setWardCode(String wardCode) {
		this.wardCode = wardCode;
	}

	public String getCancelConfirmUser() {
		return cancelConfirmUser;
	}

	public void setCancelConfirmUser(String cancelConfirmUser) {
		this.cancelConfirmUser = cancelConfirmUser;
	}

	public String getExamType() {
		return examType;
	}

	public void setExamType(String examType) {
		this.examType = examType;
	}
}